Zend_Form output input elements without “/>” tag?

You have to set the doctype of your view to something that requires self closing tags on individual elements In your Bootstrap you can do something like this: protected function _initView() { $this->bootstrap('layout'); $layout = $this->getResource('layout'); $view = $layout->getView(); $view->doctype('XHTML1_STRICT'); } For all acceptable doctypes: framework.zend.com/manual/en/zend.view.h... Also, if you're using this you might want to use the doctype header in your layout if you are not, that way it will keep things in order.

You have to set the doctype of your view to something that requires self closing tags on individual elements. In your Bootstrap you can do something like this: protected function _initView() { $this->bootstrap('layout'); $layout = $this->getResource('layout'); $view = $layout->getView(); $view->doctype('XHTML1_STRICT'); } For all acceptable doctypes: framework.zend.com/manual/en/zend.view.h... Also, if you're using this you might want to use the doctype header in your layout if you are not, that way it will keep things in order.

1 Since I am using another framework to render the page content, Zend_Form was not taking into account the doctype. I just added "$view->doctype('XHTML1_STRICT');", and everything worked ok. Thanks.

– yvoyer Nov 23 '10 at 19:58 1 You can also set via application. Ini using: resources.view. Doctype = HTML_STRICT – Rob Allen Nov 24 '10 at 7:53.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions